#pragma once

#include <QtWidgets/QWidget>
#include "ui_arbitrage.h"
#include <qmessagebox.h>
#include <qfiledialog.h>
#include <set>
#include <vector>
#include <map>
#include <sstream>
#include <fstream>
#include <iostream>
#include <qinputdialog.h>
#include <qprocess.h>
using namespace std;


class arbitrage : public QWidget
{
    Q_OBJECT

public:
    arbitrage(QWidget *parent = nullptr);
    ~arbitrage();
    quint8 num;
    QString currency[25];
    double arr[25][25];
    void  update();
private slots:
    void reflush();
    void addItem();
    void deleteItem();
    void admit();
    void read();
    void makeSureNoSameItem();
    void read_2();
private:
    Ui::arbitrageClass ui;

};
